<?php

namespace app\Models;

use core\Model;

class Test extends Model
{

    protected $table = 'member';

    public function index()
    {
//        $sql = 'select * from php34_member';
//        return $res = $this->where(["id" => 1])->update(["face" => 1]);
//        return $this->query($sql)->all();
//        return $this->where('id = 1')->order('id desc')->asArray()->all();
//        return $this->where('di = 1')->one();
    }

}
